<?php
namespace catchAdmin\report\model\search;

trait DeclarationSearch
{
    public function searchJobNumberAttr($query, $value, $data)
    {
        return $query->whereLike('job_number', $value);
    }
    public function searchCustomsNumberAttr($query, $value, $data)
    {
        return $query->whereLike('customs_number', $value);
    }
}